/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.qp.projectname.dao;

import com.qp.projectname.dao.abstractdao.Hib;
import com.qp.smsmarketing.dao.abstractdao.AbstractDAO;
import java.util.Iterator;
import java.util.List;

/**
 *
 * @author waldenilson
 */
public class GrupoDAO extends AbstractDAO {

    public GrupoDAO()
    {
        super.entityManager = Hib.getSessionFactory();
    }

    public List buscarTodos() {
        return findAllRows("Grupo");
    }

    public boolean salvarObj(Object o) {
        return salvar(o);
    }

    public boolean atualizarDados(Object o) {
        return atualizar(o);
    }
}
